package com.gec.dao;

import java.sql.SQLException;
import java.util.List;

import com.gec.model.LodgerInfo;

public interface LodgerInfoDao {
	void saveLodgerInfo( LodgerInfo lodgerInfo ) 
			throws SQLException;
		
	int getLodgerInfoCount() throws SQLException;

	List<LodgerInfo> getLodgerInfoList(
		int page, int pageSize ) 
		throws SQLException;
	
	LodgerInfo getLodgerInfoById(String id, boolean flag) 
		throws SQLException;
	
	void updateLodgerInfo(LodgerInfo lodgerInfo)
		throws SQLException;

	void delLodgerInfo(String id)
		throws SQLException;
	
	List<LodgerInfo> getAllLodgerInfoList()
		throws SQLException;
}
